/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.portlet.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 * This class is used by SOAP remote services.
 *
 * @author    Thi
 * @generated
 */
public class nlhasspSoap implements Serializable {
	public static nlhasspSoap toSoapModel(nlhassp model) {
		nlhasspSoap soapModel = new nlhasspSoap();

		soapModel.setMaNLSP(model.getMaNLSP());
		soapModel.setMaNguyenLieu(model.getMaNguyenLieu());
		soapModel.setMaQC(model.getMaQC());
		soapModel.setQuyCach(model.getQuyCach());
		soapModel.setTieuChiKiemTra(model.getTieuChiKiemTra());
		soapModel.setCachKiemTra(model.getCachKiemTra());

		return soapModel;
	}

	public static nlhasspSoap[] toSoapModels(nlhassp[] models) {
		nlhasspSoap[] soapModels = new nlhasspSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static nlhasspSoap[][] toSoapModels(nlhassp[][] models) {
		nlhasspSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new nlhasspSoap[models.length][models[0].length];
		}
		else {
			soapModels = new nlhasspSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static nlhasspSoap[] toSoapModels(List<nlhassp> models) {
		List<nlhasspSoap> soapModels = new ArrayList<nlhasspSoap>(models.size());

		for (nlhassp model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new nlhasspSoap[soapModels.size()]);
	}

	public nlhasspSoap() {
	}

	public long getPrimaryKey() {
		return _maNLSP;
	}

	public void setPrimaryKey(long pk) {
		setMaNLSP(pk);
	}

	public long getMaNLSP() {
		return _maNLSP;
	}

	public void setMaNLSP(long maNLSP) {
		_maNLSP = maNLSP;
	}

	public String getMaNguyenLieu() {
		return _maNguyenLieu;
	}

	public void setMaNguyenLieu(String maNguyenLieu) {
		_maNguyenLieu = maNguyenLieu;
	}

	public String getMaQC() {
		return _maQC;
	}

	public void setMaQC(String maQC) {
		_maQC = maQC;
	}

	public String getQuyCach() {
		return _quyCach;
	}

	public void setQuyCach(String quyCach) {
		_quyCach = quyCach;
	}

	public String getTieuChiKiemTra() {
		return _tieuChiKiemTra;
	}

	public void setTieuChiKiemTra(String tieuChiKiemTra) {
		_tieuChiKiemTra = tieuChiKiemTra;
	}

	public String getCachKiemTra() {
		return _cachKiemTra;
	}

	public void setCachKiemTra(String cachKiemTra) {
		_cachKiemTra = cachKiemTra;
	}

	private long _maNLSP;
	private String _maNguyenLieu;
	private String _maQC;
	private String _quyCach;
	private String _tieuChiKiemTra;
	private String _cachKiemTra;
}